//定义变量
@width: 1250px;
.pages-container {
    width: 100%;
    .contant {
        max-width: @width;
        margin: 0 auto;
        h1 {
            padding: 80px 0 0;
            font-size: 46px;
            color: #30364C;
        }
        h2 {
            font-size: 46px;
            line-height: 46px;
            color: #30364C;
            margin-top: -10px;
            font-weight: normal;
        }
        .article {
            font-size: 16px;
            line-height: 20px;
            color: #989AA6;
            margin-top: 20px;
        }
        a {
            margin-top: 36px;
            width: 182px;
            height: 48px;
            line-height: 48px;
            display: inline-block;
            background-color: #25292C;
            border: 1px solid #25292C;
            border-radius: 50px;
            text-align: center;
            font-size: 16px;
            padding: 5px 1px;
            color: white;
            box-shadow: 0 0 1px #25292C;
        }
    }
    .adv {
        margin: 30px auto;
        .grid {
            width: 100%;
            margin: 0 auto;
            ul {
                margin: 0;
                padding: 0;
                overflow: hidden;
                list-style: none;
                li {
                    float: left;
                    width: 100%/3;
                    position: relative;
                    padding-bottom: 30px;
                    .group-item {
                        margin: 0 auto;
                        background-color: orange;
                        box-shadow: 0 1px 1px rgba(0,0,0,0.15);
                        position: relative;
                        padding-bottom: 30px;
                        .thum {
                            text-align: center;
                            max-height: 380px;
                            position: relative;
                            top: 10px;
                            a {
                                width: 100%/3;
                                height: 380px;
                            }
                        }
                        .meta {
                            padding: 50px 5px;
                            .jumbotron h1 {
                                font-weight: normal;
                                line-height: 1.2;
                                color: #fff;
                                font-size: 24px;
                                text-align: center;
                            }
                            p {
                                margin-left: 40px;
                                color: white;
                                margin-top: 30px;
                            }
                        }
                        .circle {
                            position: relative;
                            left: 230px;
                            width: 40px;
                            height: 40px;
                            background: #252525;
                            border: 1px solid #252525;
                            border-radius: 100%;
                            i {
                                width: 15px;
                                height: 15px;
                                display: block;
                                margin-top: 10px;
                                margin-left: 10px;
                                background: url("../img/grid_three_arr.png") no-repeat -11px -15px;
                            }
                        }
                    }
                    #group-item {
                        background: #00AEE0;
                    }
                    #group {
                        background: #30364C;
                    }
                }
            }
        }
    }
    .about {
        margin-top: 20px;
        .wrapper {
            max-width: @width;
            margin: 0 auto;
            h1 {
                font-weight: 700;
                font-family: "微软雅黑";
                color: #31364c;
                padding: 80px 0 20px;
            }
            p {
                color: #9699a6;
                font-size: 16px;
            }
            .row {
                padding: 50px 0;
                max-width: @width;
                .column {
                    float: left;
                    width: 25%;
                    height: 530px;
                    text-align: center;
                    position: relative;
                    top: 0;
                    left: 0;
                    .about-item {
                        position: relative;
                        display: inline-block;
                        width: 300px;
                        i {
                            display: inline-block;
                            width: 300px;
                            height: 300px;
                            &:hover {
                                opacity: 0.5;
                            }
                        }
                        .one {
                            background: url("../img/pages_Avatar.png") no-repeat 0 0;
                        }
                        .two {
                            background: url("../img/pages_Avatar.png") no-repeat -305px 0;
                        }
                        .three {
                            background: url("../img/pages_Avatar.png") no-repeat -617px 0;
                        }
                        .four {
                            background: url("../img/pages_Avatar.png") no-repeat -918px 0;
                        }
                        .five {
                            background: url("../img/pages_Avatar.png") no-repeat 0 -316px;
                        }
                        .six {
                            background: url("../img/pages_Avatar.png") no-repeat -300px -316px;
                        }
                        .user-card {
                            position: absolute;
                            left: 0;
                            width: 300px;
                            padding-top: 20px;
                            .card-box {
                                position: relative;
                                width: 258px;
                                height: 120px;
                                padding: 20px;
                                border: 1px solid #ededed;
                                border-radius: 50px;
                                background-color: #fff;
                                z-index: 999;
                                text-align: center;
                                h2 {
                                    color: #999;
                                    margin-bottom: 20px;
                                }
                                P {
                                    font-size: 18px;
                                    color: #31364c;
                                    margin-bottom: 20px;
                                }
                                .share i {
                                    width: 95px;
                                    height: 40px;
                                    display: inline-block;
                                }
                                .shareone {
                                    background: url("../img/pages_arrow.png") no-repeat -32px -15px;
                                }
                                .sharetwo {
                                    background: url("../img/pages_arrow.png") no-repeat -62px -15px;
                                }
                                .sharethree {
                                    background: url("../img/pages_arrow.png") no-repeat -123px -15px;
                                }
                                .sharefour {
                                    background: url("../img/pages_arrow.png") no-repeat -152px -15px;
                                }
                                .sharefive {
                                    background: url("../img/pages_arrow.png") no-repeat -32px -15px;
                                }
                                .sharesix {
                                    background: url("../img/pages_arrow.png") no-repeat -32px -15px;
                                }
                                
                                .out {
                                    position: absolute;
                                    border: solid 10px transparent;
                                    border-bottom: solid 10px #ededed;
                                    left: 136px;
                                    top: -21px;
                                }
                                .in {
                                    position: absolute;
                                    border: solid 10px transparent;
                                    border-bottom: solid 10px #fff;
                                    left: 136px;
                                    top: -20px;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    .carousel {
        position: relative;
        width: 100%;
        height: 450px;
        background: #6739b6;
        .list {
            margin: 0 auto;
            max-width: 1250px;
            max-height: 450px;
            text-align: center;
            .item-all {
                max-width: 954px;
                max-height: 350px;
                overflow: hidden;
                display: inline-block;
                margin-top: 50px;
                .item {
                    transition: 1s;
                    position: relative;
                    top: 0;
                    left: 0;
                    max-height: 350px;
                    .carousel-count {
                        max-width: 954px;
                        max-height: 350px;
                        float: left;
                        .quot {
                            display: inline-block;
                            width: 35px;
                            height: 35px;
                            background: url("../img/pages_arrow.png") no-repeat -32px -60px;
                        }
                        p {
                            color: white;
                            font-size: 30px;
                        }
                        .head {
                            display: inline-block;
                            text-align: center;
                            .head-icon {
                                width: 140px;
                                height: 140px;
                                float: left;
                                .face i {
                                    width: 100px;
                                    height: 100px;
                                    border: 1px solid white;
                                    border-radius: 100%;
                                    display: inline-block;
                                    &:hover {
                                        opacity: 0.5;
                                        transform: scale(1.2,1.2);
                                    }
                                }
                                img {
                                    width: 100px;
                                    height: 100px;
                                    border: 1px solid white;
                                    border-radius: 100%;
                                }
                                .faceone {
                                    background: url("../img/pages_face.png") no-repeat -9px -10px;
                                }
                                .facetwo {
                                    background: url("../img/pages_face.png") no-repeat -126px -10px;
                                }
                                .facethree {
                                    background: url("../img/pages_face.png") no-repeat -9px -10px;
                                }
                                .name {
                                    color: white;
                                    font-size: 16px;
                                    margin-top: 0;
                                }
                            }
                        }
                    }
                }
            }
        }
        .min-circle {
            position: absolute;
            bottom: 20px;
            left: 50%;
            margin-left: -20px;
            .circle {
                width: 10px;
                height: 10px;
                border: 1px solid #FFF;
                border-radius: 100%;
                float: left;
                margin-right: 10px;
                cursor: pointer;
                &:hover {
                    background: #fff;
                }
            }
        }
        .prev {
            width: 100px;
            height: 450px;
            background: black;
            opacity: 0.2;
            position: absolute;
            left: 0;
            top: 0;
            .arrowleft {
                position: absolute;
                display: inline-block;
                width: 50px;
                height: 80px;
                background: url("../img/pages_icon_arrows.png") no-repeat -2px 0;
                top: 50%;
                left: 50%;
                margin-left: -40px;
                margin-top: -30px;
            }
        }
        .next {
            width: 100px;
            height: 450px;
            background: black;
            opacity: 0.2;
            position: absolute;
            right: 0;
            top: 0;
            .arrowright {
                position: absolute;
                display: inline-block;
                width: 50px;
                height: 80px;
                background: url("../img/pages_icon_arrows.png") no-repeat -40px 0;
                top: 50%;
                right: 50%;
                margin-right: -40px;
                margin-top: -30px;
            }
        }
    }
    .part {
        max-width: @width;
        margin: 0 auto;
        background: #fff;
        padding: 80px 0 50px;
        position: relative;
        margin-bottom: 60px;
        h1 {
            color: #31364c;
            font-style: normal;
        }
        p {
            color: #9699a6;
            font-size: 16px;
        }
        .titletext ul {
            list-style: none;
            margin: 0;
            padding: 0;
            li {
                float: left;
                margin-left: 10px;
                a {
                    display: block;
                    width: 160px;
                    height: 85px;
                }
                .pra {
                    background: url("../img/pages_text_icon.png") no-repeat 0 0;
                }
                .flu {
                    background: url("../img/pages_text_icon.png") no-repeat -166px 0;
                }
                .bon {
                    background: url("../img/pages_text_icon.png") no-repeat -8px -81px;
                }
                .spa {
                    background: url("../img/pages_text_icon.png") no-repeat -166px -80px;
                }
                .fra {
                    background: url("../img/pages_text_icon.png") no-repeat -5px -158px;
                }
                .bar {
                    background: url("../img/pages_text_icon.png") no-repeat -166px -156px;
                }
            }
            li:first-child {
                margin-left: 0;
            }
        }
        .circle {
            position: absolute;
            right: 300px;
            top: 178px;
            width: 80px;
            height: 10px;
            .min {
                width: 10px;
                height: 10px;
                background: #F5F5F5;
                border: 1px solid #F5F5F5;
                border-radius: 100%;
                float: left;
                margin-left: 5px;
                margin-top: -10px;
                cursor: pointer;
                &:hover {
                    background: #00AEE0;
                }
            }
        }
    }
}
//清除浮动
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
//响应式
//平板
@media only screen and (max-width: 1024px) {
    body{
        overflow-x: hidden;
    }
    .pages-container {
        .contant {
            width: 100%;
            text-align: center;
        }
        .adv {
            .grid {
                ul {
                    .group {
                        height: auto !important;
                    }
                }
            }
        }
        .about {
            .wrapper {
                width: auto;
                text-align: center;
                .row {
                    .column {
                        width: 50%;
                        margin: 0 auto;
                    }
                }
            }
        }
        .carousel{
            display: none;
        }
        .part {
            width: auto;
            text-align: center;
            .titletext {
                ul {
                    li {
                        float: none;
                        display: none;
                    }
                }
            }
        }
    }
}
//手机
@media only screen and (max-width: 768px) {
    body{
        overflow-x: hidden;
    }
    .pages-container {
        .contant {
            width: 100%;
            text-align: center;
        }
        .adv {
            .grid {
                ul {
                    .group {
                        height: auto !important;
                    }
                }
            }
        }
        .about {
            .wrapper {
                width: auto;
                text-align: center;
                .row {
                    .column {
                        float: none;
                        width: 100%;
                        margin: 0 auto;
                    }
                }
            }
        }
        .carousel{
            display: none;
        }
        .part {
            width: auto;
            text-align: center;
            .titletext {
                ul {
                    li {
                        float: none;
                        display: none;
                    }
                }
            }
            .circle{
                display: none;
            }
        }
    }
}